package com.hdax.dmw.common.exception;

import com.hdax.dmw.utils.ServiceResultEnum;
import lombok.Getter;

@Getter
public class DmwException extends RuntimeException{

    protected String message;
    public DmwException(String message){
        super(message);
        this.message = message;
    }

    public DmwException(ServiceResultEnum e){
        super(e.getMessage());
        this.message = e.getMessage();
    }

}
